<?php

class PlanetDao extends BaseDao {
	
	public function __construct($dsn, $username, $password) {
		parent::__construct($dsn, $username, $password);
			
		$this->mapping = new Mapping("PlanetModel", "t_planet", array("userId","roundId"),
		array(
			'userId',		
			'roundId',		
			'sector',		
			'galaxia',		
			'slot',		
			'name'
		),
		array(
			'user_id',		
			'round_id',		
			'sector',		
			'galaxia',		
			'slot',		
			'name'
		));
	}
}
?>